package com.example.ruiji.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.example.ruiji.dto.DishDto;
import com.example.ruiji.pojo.Dish;
import com.example.ruiji.pojo.R;

import java.util.List;

public interface DishService extends IService<Dish> {
    void saveWithFlavor(DishDto dishDto);

    R<Page> pagea(int page, int pageSize, String name);

    DishDto show(Long id);

    void savei(DishDto dishDto);

    void pldelet(List<Long> ids);
}
